<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=640,target-densitydpi=device-dpi,maximum-scale=1.0, user-scalable=no">
		<title>lotto_3</title>
		<link rel="stylesheet" type="text/css" href="../../css/common/common.css" />
		<link rel="stylesheet" type="text/css" href="../../css/lotto/lotto_3.css" />
	</head>

	<body>
		<!--背景-->
		<div class="beijing">
			<!--信息-->
			<div class="xinxi">
				<img src="../../img/lotto/jiang3_txt1.png" />
			</div>

			<!--瓶子-->
			<div class="pingzi">
				<img src="../../img/lotto/jiang3_pingzi.png" />
			</div>

			<!--5折-->
			<div class="yixiang"><img src="../../img/lotto/jiang3_txt2.png" /></div>

			<!--兑换-->
			<div class="duihuan"><img src="../../img/lotto/like_duihuan_btn.png" /></div>

			<audio src="../../music/music.mp3" id="music"></audio>

		</div>

		<script src="js/jquery-2.1.js"></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>

		<script>
			//自动播放
			function autoPlayAudio() {
				wx.config({
					// 配置信息, 即使不正确也能使用 wx.ready
					debug: false,
					appId: '',
					timestamp: 1,
					nonceStr: '',
					signature: '',
					jsApiList: []
				});
				wx.ready(function() {
					var globalAudio = document.getElementById("music");
					globalAudio.play();
				});
			};
			// 解决ios音乐不自动播放的问题
			autoPlayAudio();
		</script>
	</body>

</html>